package com.lczyfz.istep.modules.openstack.api.neutron.model;

import net.sf.json.JSONArray;

/**
 * �˿�ʵ����
 * @author zwz
 *
 */
public class Port {
	
	/**�˿�ID*/
	private String portId;
	
	/**�˿���*/
	private String portName;
	
	/**����ID*/
	private String portNetworkId;
	
	/**�̶�IP*/
	private JSONArray portFixed_ip;
	
	public String toString() {
		return  "Port [id=" + portId + ", name=" + portName + ",network_id=" + portNetworkId + ",fixed_ip" + portFixed_ip.getInt(0) + "]";
	}
	
	public String getPortId(){
		return portId;
	}
	
	public void setPortId(String portId) {
		this.portId = portId;
	}
	
	public String getPortName(){
		return portName;
	}
	
	public void setPortName(String portName) {
		this.portName = portName;
	}
	
	public String getPortNetworkId(){
		return portNetworkId;
	}
	
	public void setPortNetworkId(String portNetworkId) {
		this.portNetworkId = portNetworkId;
	}
	
	public JSONArray getPortFixedIp() {
		return portFixed_ip;
	}
	
	public void setPortFixedIp(JSONArray portFixed_ip) {
		this.portFixed_ip = portFixed_ip;
	}
}
